package com.wanxi.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yangjin
 * @date 2022年08月08日 19:56
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户登录",description = "用户用于登录的实体")
public class LoginEntity implements Serializable {
    @ApiModelProperty(value = "用户",example = "用户关联用户基本信息的id")
    private Integer userId;
    @ApiModelProperty(value = "用户账号",example = "zhangsan")
    private String username;
    @ApiModelProperty(value = "用户密码",example = "zhangsan123456")
    private String password;
    @ApiModelProperty(value = "用户状态",example = "0 正常 1 异常 2 已注销")
    private Integer userSate;
    @ApiModelProperty(value = "用户类型",example = "0 C端用户 1 B端商家用户 2 B端店铺用户 3 平台运营管理员")
    private Integer userType;
}
